home *** CD-ROM | disk | FTP | other *** search
- //
- // The Fusion Library Interface for DOS
- // Version 1.06c
- // Copyright (C) 1990, 1991, 1992
- // Software Dimensions
- //
- // DialogClass
- //
-
- #include "fli.h"
-
- #ifdef __BCPLUSPLUS__
- #pragma hdrstop
- #if defined(__SMALL__) || defined(__TINY__) || defined(__MEDIUM__)
- #pragma option -Od
- #endif
- #endif
-
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- //
- // Element()
- //
- // Add an element to the linked list
- //
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- void DialogClass::Element(DialogElement *Element)
- {
- if (!Current)
- {
- First=Last=Current=Element;
- Element->Blaze=&Blaze;
- }
- else
- {
- Element->Blaze=&Blaze;
- Current->Next=Element;
- DialogElement *Save=Current;
- Last=Current=Element;
- Current->Last=Save;
- }
- }
-
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
- //
- // Available()
- //
- // Attach and available integer to an element
- //
- //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-
- void DialogClass::Available(int &Avail)
- {
- Current->Avail=&Avail;
- }
-
-